/**
 * This script handles the set up of the register page by setting
 * up event handlers, animations, etc.
 *
 * @author nicholas malacarne <nicholas.malacarne@gmail.com>
 */

// load required scripts -nm
$.loadScript( "js/ajax/getInfo.ajax.js" );
$.loadScript( "js/filters/register.filter.js" );
$.loadScript( "js/events/username.input.event.js" );
$.loadScript( "js/events/password.input.event.js" );

$( document ).ready(function() {
    
    // get and filter app info -nm
    getInfo_ajax().done( register_filter );
    
    $( '#username' ).on( 'input', username_input_event );
    $( '#password' ).on( 'input', password_input_event );
});